The data positions.
xerr, yerrfloat or array-like, shape(N,) or shape(2, N), optionalThe errorbar sizes:
scalar: Symmetric +/- values for all data points.
shape(N,): Symmetric +/-values for each data point.
shape(2, N): Separate - and + values for each bar. First rowcontains the lower errors, the second row contains the uppererrors.
None: No errorbar.
All values must be >= 0.
See Different ways of specifying error barsfor an example on the usage of xerr and yerr.
fmtstr, default: ''The format for the data points / data lines. See plot fordetails.
Use 'none' (case-insensitive) to plot errorbars without any datamarkers.
ecolorcolor, default: NoneThe color of the errorbar lines. If None, use the color of theline connecting the markers.
elinewidthfloat, default: NoneThe linewidth of the errorbar lines. If None, the linewidth ofthe current style is used.
capsizefloat, default: rcParams["errorbar.capsize"] (default: 0.0)The length of the error bar caps in points.
capthickfloat, default: NoneAn alias to the keyword argument markeredgewidth (a.k.a. mew).This setting is a more sensible name for the property thatcontrols the thickness of the error bar cap in points. Forbackwards compatibility, if mew or markeredgewidth are given,then they will over-ride capthick. This may change in futurereleases.
barsabovebool, default: FalseIf True, will plot the errorbars above the plotsymbols. Default is below.
lolims, uplims, xlolims, xuplimsbool or array-like, default: FalseThese arguments can be used to indicate that a value gives onlyupper/lower limits. In that case a caret symbol is used toindicate this. lims-arguments may be scalars, or array-likes ofthe same length as xerr and yerr. To use limits with invertedaxes, set_xlim or set_ylim must be called beforeerrorbar(). Note the tricky parameter names: setting e.g.lolims to True means that the y-value is a lower limit of theTrue value, so, only an upward-pointing arrow will be drawn!
erroreveryint or (int, int), default: 1draws error bars on a subset of the data. errorevery =N drawserror bars on the points (x[::N], y[::N]).errorevery =(start, N) draws error bars on the points(x[start::N], y[start::N]). e.g. errorevery=(6, 3)adds error bars to the data at (x[6], x[9], x[12], x[15], ...).Used to avoid overlapping error bars when two series share x-axisvalues.